package com.ruoyi.survey.service.impl;

import com.ruoyi.survey.domain.StatisticalData;
import com.ruoyi.survey.service.SurveyService;
import com.ruoyi.survey.mapper.SurveyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SurveyServiceImpl implements SurveyService {
    @Autowired
    SurveyMapper surveyMapper;

    @Override
    public StatisticalData selectStatisticalData(Long deptId) {
        return surveyMapper.selectStatisticalData(deptId);
    }
}
